package guoanmaker.operator.business.repository;

import guoanmaker.operator.business.model.OperatorSpace;
import guoanmaker.operator.business.model.OperatorSpaceAppointment;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 *  
 *
 * @author huZhaoyu 
 * @ClassName: OperatorSpaceRepository
 * @Description: 空间Repository
 * @date 2017/6/28
 */
public interface OperatorSpaceRepository extends JpaRepository<OperatorSpace, String>, JpaSpecificationExecutor<OperatorSpace> {

    List<OperatorSpace> findBySpaceTitleContainingOrderByCreateDateDesc(String spaceTitle);


}